package com.cloudkinto.vo.company;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CompanyExportVo {
    @Excel(name = "客户代码")
    private String companyCode;
    @Excel(name = "状态", replace = {"启用_0", "禁用_1"})
    private int status;
    @Excel(name = "客户名称")
    private String name;
    @Excel(name = "公司名称")
    private String companyName;
    @Excel(name = "联系人")
    private String contact;
    @Excel(name = "电话")
    private String tel;
    @Excel(name = "邮箱")
    private String email;
    @Excel(name = "地址")
    private String address;
    @Excel(name = "备注")
    private String tips;
    @Excel(name = "OMS管理员账户")
    private String adminAccount;
    @Excel(name = "是否产品免审", replace = {"是_0", "否_0"})
    private int productFreeTrial;
    @Excel(name = "创建时间", exportFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty("仓库")
    private String warehouse;
}
